<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let arr=[31,43,12,44];
        let a=arr.filter(value=>value%2===0)
        console.log(a)

        let b=arr.map((value,index,array)=>{
            return value+":"+index+":"+array+"."
        })
        console.log(b)
        let c=arr.find(number=>number%2===0)
        console.log(c)
        
        
    </script>
    
</body>
</html>